package io.gitee.skyarthur1987.leporidae.delayqueue.autoconfigure;

import lombok.Data;

/**
 * 延迟队列定时轮询配置
 * Created by skyarthur on 2023/1/28
 */
@Data
public class DelayQueuePollSchedulerConfig {
    // 定时轮询周期，单位：毫秒
    private Integer periodInMillis = 5 * 1000;
    // 初始延迟时间，单位：毫秒
    private Integer initialDelayInMillis = 5 * 1000 * 60;
    // 轮询的线程/并发数量
    private Integer size = 1;
}
